package com.chenwy.example.configuration.beans;

/**
 * 规则
 */
public class Rule {

    /**
     * 权重
     */
    private Double weight;

    /**
     *比例
     */
    private Double ratio;

    /**
     * 操作
     */
    private Operator operators;

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public void setRatio(Double ratio) {
        this.ratio = ratio;
    }

    public Operator getOperators() {
        return operators;
    }

    public void setOperators(Operator operators) {
        this.operators = operators;
    }

    public Double getWeight() {
        return weight;
    }

    public Double getRatio() {
        return ratio;
    }
}
